package src.lab02.test01.Test07;

public class Test {
    public static void main(String[] args) {

        Person li=new Person();
        li .name="lidandan";
        li.age=19;
        li.idcard="511528199706031841";
        System.out.println(li.getString());

        //Student类
        Student ai=new Student();
        ai .name="lidandan";
        ai.age=19;
        ai.idcard="511528199706031841";
        ai.sno="1606101114";
        ai.university="四川旅游学院";
        System.out.println(li.getString());
    }
}
